<include file="public:header"/>

<div class="toptit">审核退款信息</div>
<form action="{:U('edit')}" method="post">
    <div class="form_main width120">
        <div class="fl">职位名称:</div>
        <div class="fr txt">{$info.jobs_name}</div>
        <div class="fl">企业名称:</div>
        <div class="fr txt">{$info.companyname}</div>
        <div class="fl">支付方式:</div>
        <div class="fr txt">{$info.payment_cn}</div>
        <div class="fl">退款金额:</div>
        <div class="fr txt">{$info.money}</div>
        <div class="fl">审核状态:</div>
        <if condition="$info['status'] gt 1">
            <div class="fr txt"><if condition="$info['status'] eq 2">已审核<else /><span style="color:red">未通过</span></if></div>
        <else />
            <div class="fr">
                <div class="imgradio">
                    <input name="status" type="hidden" value="{$info['status']}">
                    <!--<div class="radio <eq name='info.status' value='1'>select</eq>" data="1">待审核</div>-->
                    <div class="radio <eq name='info.status' value='2'>select</eq>" data="2">通过</div>
                    <div class="radio <eq name='info.status' value='3'>select</eq>" data="3">拒绝</div>
                    <div class="clear"></div>
                </div>
            </div>
        </if>

        <div class="fl">公司简介:</div>
        <div class="fr">
            <if condition="$info['status'] gt 1">
                {$info.remarks}
            <else />
                <input name="remarks" type="text" class="input_text_default" maxlength="120" value="{$info.remarks}"/>
            </if>

        </div>
        <div class="fl"></div>
        <div class="fr">
            <if condition="$info['status'] eq 1">
            <input type="hidden" name="id" value="{$Think.get.id}">
            <input type="submit" class="admin_submit" value="保存"/>
            </if>
            <input type="button" class="admin_submit" value="返回" onClick="history.go(-1)"/>
        </div>
        <div class="clear"></div>
    </div>
</form>

</div>
<include file="public:footer"/>
<qscms:load type="category" search="1"/>
<script type="text/javascript">
  var uploadUrl = "{:U('Upload/index')}";
</script>
<link href="__ADMINPUBLIC__/css/company_logo.css" rel="stylesheet" type="text/css" />
<script src="__ADMINPUBLIC__/js/ajaxfileupload.js"></script>
<script src="__ADMINPUBLIC__/js/fileupload.js"></script>
<script type="text/javascript" src="../public/js/jquery.user.city.js"></script>
<script type="text/javascript" src="../public/js/jquery.modal.userselectlayer.js"></script>
</body>
<script type="text/javascript">
var comid = "{$info['id']}";
		$.upload("#hidden_file",{company_id:comid,dir:'company_logo'},function(result){
		
			$("#logo_res").attr("src",result.url.path);
			if(result.error==1){
				disapperTooltip('success',result.message);
			}else{
				disapperTooltip('success',result.message);
			}
			//$('.clear_logo').show();
		});
    $(document).ready(function () {
        $('#J_submit_com').click(function(){
            var that = $(this);
            if(that.hasClass('disabled')){
                return false;
            }
            that.val('正在保存...').addClass('disabled');
            $.post("{:U('Company/edit_company')}",$('#form_com').serialize(),function(result){
                if(result.status==1){
                    disapperTooltip("success", result.msg,function(){
                        location.reload();
                    });
                }else{
                    disapperTooltip("remind", result.msg,function(){
                        that.val('保存修改').removeClass('disabled');
                    });
                    return false;
                }
            },'json');
        });
        // 公司性质cn
        $(".J_company_nature .radio").live('click',function(){
            $("#nature_cn").val($(this).attr("title"));
        });
        // 公司规模cn
        $(".J_company_scale .radio").live('click',function(){
            $("#scale_cn").val($(this).attr("title"));
        });
    });
</script>
</html>